'''
Created on Apr 20, 2011

@author: david
'''
INV_PG = """<html>
    <head>
        <title>User Inventory</title>
    </head>
    <body>
        <h2>Users</h2>
       <table>
           <tr><th>UID</th<th>Email</th></tr>
        <div>
            <hr/>
            %s
        </div>
    </body>
</html>        
"""

NEW_EMAIL_PG = """<html>
    <head>
        <title>Add Email</title>
    </head>
    <body>
        <div>%s<hr/></div>
        
        <form action="/users/add" method="post">
           <div>Login: <input type="text" name="uid" id="uid"/></div>
           <div>Password: <input type="password" name="pwd" id="pwd"/></div>
           <div>New Email: <input type="text" name="address" id="address"/></div>
           <div><input type="submit" value="Add Email"/></div>
        </form>
    </body>
</html>        
"""
    
LIST_LOGS_PG = """<html>
    <head>
        <title>Logs Inventory</title>
    </head>
    <body>
        <h2>Logs</h2>
       <table>
           <tr><th>URL</th<th>Direction</th></tr>
        <div>
            <hr/>
            %s
        </div>
    </body>
</html>        
"""

NEW_LOG_PG = """<html>
    <head>
        <title>Add Change Log</title>
    </head>
    <body>
        <div>%s<hr/></div>
        
        <form action="/logs/add" method="post">
           <div>URL: <input type="text" name="url" id="url"/></div>
           <div> <input type="radio" name="r1" id="r1" value="1" checked="1"/> Heads </div>
           <div> <input type="radio" name="r1" id="r1" value="0"/> Tails </div>
           <div><input type="submit" value="Add Log"/></div>
        </form>
    </body>
</html>        
"""
        